package com.ruoyi.basedata.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 结算价格分录对象 t_oms_settlementpriceentry
 *
 * @author ptt
 * @date 2023-03-07
 */
public class OmsSettlementpriceentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialnumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialname;

    /** 结算单价 */
    @Excel(name = "结算单价")
    private BigDecimal price;

    /** 测算价（成本价） */
    @Excel(name = "测算价")
    private BigDecimal primecostprice;

    /** 加盟商价 */
    @Excel(name = "加盟商价")
    private BigDecimal joinprice;

    /** 维护价 */
    @Excel(name = "维护价")
    private BigDecimal maintainprice;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setParentid(Long parentid)
    {
        this.parentid = parentid;
    }

    public Long getParentid()
    {
        return parentid;
    }
    public void setMaterialnumber(String materialnumber)
    {
        this.materialnumber = materialnumber;
    }

    public String getMaterialnumber()
    {
        return materialnumber;
    }
    public void setMaterialname(String materialname)
    {
        this.materialname = materialname;
    }

    public String getMaterialname()
    {
        return materialname;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setPrimecostprice(BigDecimal primecostprice)
    {
        this.primecostprice = primecostprice;
    }

    public BigDecimal getPrimecostprice()
    {
        return primecostprice;
    }
    public void setJoinprice(BigDecimal joinprice)
    {
        this.joinprice = joinprice;
    }

    public BigDecimal getJoinprice()
    {
        return joinprice;
    }
    public void setMaintainprice(BigDecimal maintainprice)
    {
        this.maintainprice = maintainprice;
    }

    public BigDecimal getMaintainprice()
    {
        return maintainprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parentid", getParentid())
                .append("materialnumber", getMaterialnumber())
                .append("materialname", getMaterialname())
                .append("price", getPrice())
                .append("primecostprice", getPrimecostprice())
                .append("joinprice", getJoinprice())
                .append("maintainprice", getMaintainprice())
                .toString();
    }
}